<template>
	<view class="invalidItem">
		<view class="invalidLeft">
			<text class="invalidLabel">失效</text>
		</view>
		<product-item-image :src="src" :size="'220rpx'" />
		<view class="invalidRight">
			<product-item-title :text="title" :color="'#9b9c9e'"/>
			<text style="font-size: 26rpx; color: #37383D;">该商品在门店已售罄</text>
		</view>
	</view>
</template>

<script>
	import productMixins from '@/mixins/productMixins.js'
	
	export default {
		mixins: [productMixins],
		data() {
			return {
				
			};
		}
	}
</script>

<style>
	.invalidItem {
		/* #ifdef H5 || MP-WEIXIN */
		display: flex;
		/* #endif */
		flex-direction: row;
		align-items: center;
		background-color: #FFFFFF;
		padding-top: 15rpx;
		padding-bottom: 15rpx;
	}
	
	.invalidLeft {
		/* #ifdef H5 || MP-WEIXIN */
		display: flex;
		/* #endif */
		width: 70rpx;
		/* background-color: pink; */
		align-items: center;
		justify-content: center;
	}
	
	.invalidLabel {
		font-size: 22rpx;
		color: #FFFFFF;
		background-color: #bdbdbd;
		padding: 1px;
	}
	
	.invalidRight {
		/* #ifdef H5 || MP-WEIXIN */
		display: flex;
		/* #endif */
		flex: 1;
		flex-direction: column;
		justify-content: center;
		padding-left: 20rpx;
		padding-right: 20rpx;
	}
</style>
